<?php
/************************
* Simple News Engine 0.2.3
* author: Ragnaar <ragnaar@km.ru>
* home: http://code.google.com/p/sne-news
* date: 08.06.2011
*********************/
define('_VALID_SNE', '1');
define('SNE_PATH', dirname(__FILE__)); //определяем путь

require_once SNE_PATH."/inc/config.php";

//шаблоны
$pub_header_tpl = SNE_PATH."/inc/tpl/pub_header.tpl";
$pub_footer_tpl = SNE_PATH."/inc/tpl/pub_footer.tpl";

$title = "Include Test";
include $pub_header_tpl;

echo "<h4>URL Include</h4>";
include $newsPath."?mode=include";
    
echo "<h4>Local include</h4>";
$inc = 1;
include SNE_PATH."/index.php";

include $pub_footer_tpl;
?>